﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Pixysoft.Framework.Logs.Core
{
    class LogPackage : ILogPackage
    {
        string[] sources = new string[] { };

        string descination = null;

        ILogDocument document = null;

        DateTime dateFrom = DateTime.MaxValue;

        DateTime dateTo = DateTime.MinValue;

        DateTime createDate = DateTime.MinValue;


        public string[] Sources
        {
            get
            {
                return sources;
            }
            internal set { sources = value; }
        }

        public string Destination
        {
            get
            {
                return descination;
            }
            internal set { descination = value; }
        }

        public DateTime DateFrom
        {
            get
            {
                return dateFrom;
            }
            internal set { dateFrom = value; }
        }

        public DateTime DateTo
        {
            get
            {
                return dateTo;
            }
            internal set { dateTo = value; }
        }

        public DateTime CreateDate
        {
            get
            {
                return createDate;
            }
            internal set { createDate = value; }
        }

        public ILogDocument Document
        {
            get { return document; }
            set { document = value; }
        }

    }
}
